App.run(["$rootScope", function($rootScope) {

    $rootScope._docs = $rootScope._docs || [];
    $rootScope._docs.push({title: '登录', url: 'docs/login.md'});
    $rootScope._docs.push({title: '订单流程', url: 'docs/doc.md'});
}]);

/* Setup Rounting For All Pages */
App.config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {


}]);

App.filter('date', [function(){
    return function(strDate, format) {
        return moment(strDate).format(format);
    };
}])